﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DSkin.Forms;

namespace iFiddlerX
{
    public partial class IFiddlerEditForm : DSkinForm
    {
        public delegate void EventHandler(string type,string match,string replace,string comment);  //定义委托
        public event EventHandler GiveRule;
        public IFiddlerEditForm()
        {
            InitializeComponent();
        }
        private void BtnOK_Click(object sender, EventArgs e)
        {
            GiveRule(CmbType.Text, TxtMatch.Text, TxtReplace.Text, TxtComment.Text);
            Close();
        }
    }
}
